<?php
	include_once("check_login.php");
	
	$navbar = '';
	$sidebar = '
	<div id="sidebar">
	<h3 class="module-wrap-title" id="module-title-123">Profile</h3>
	<div class="module-wrap" id="module-123">
		<p id="session-profile">
			<span>Welcome back, '.get_session('userName').'!</span>
			<br>
			<a href="#" title="My Profile">My Profile</a> |
			<a href="logout.php" title="Log out">Log out</a>
		</p>
	</div>

	<h3 class="module-wrap-title" id="module-title-409">
		Quick Links</h3>
	<div class="module-wrap" id="module-409">
		<ul class="menu-category">
			<li id="menu-item-6"><a href="survey.php">Survey list</a></li>
			<li id="menu-item-6"><a href="edit_survey.php">Add survey</a></li>
		</ul>
	</div>
	</div>
	';

	$content = '
	<div id="content">
		<div id="eventmsg" style="'.$msgstatus.'" class="success">
			<p>'.$msg.'</p>
		</div>	
		<div class="module_manager-category">
			'.$main_content.'
		</div>
	</div>
	';

	include_once("root.php");
?>